project (HELLO)

ADD_SUBDIRECTORY(src bin)

#安装文件
INSTALL(FILES COPYRIGHT README DESTINATION share/doc/cmake/ )
#默认安装到/usr/local/share/doc/cmake/

#安装shell脚本  非目标的可执行程序
INSTALL(PROGRAMS runhello.sh DESTINATION bin)
#实际安装到/usr/local/bin

#安装目录
INSTALL(DIRECTORY doc/ DESTINATION share/doc/cmake)




